﻿<Application x:Class="Sovacode.DemoApp.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:model="clr-namespace:Sovacode.DemoApp.Model"
             xmlns:data="clr-namespace:Sovacode.RubiksCube.Common.Managers.Settings.Data;assembly=Sovacode.RubiksCube.Common"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        
        <DataTemplate DataType="{x:Type model:SimpleDataObject}" x:Key="SimpleData">
            <TextBlock Text="{Binding DisplayName, UpdateSourceTrigger=PropertyChanged}"/>
        </DataTemplate>

        <DataTemplate DataType="{x:Type data:DataAccessSetting}" x:Key="AccessSetting">
            <TextBlock Text="{Binding Name}"/>
        </DataTemplate>
        
    </Application.Resources>
</Application>
